package com.Liux.dao;

import com.Liux.pojo.Books;

import java.util.List;

public interface BookMapper {

    //增加一个Book
    int addBook(Books books);

    //根据id删除一个Book
    int deteleBookById(int id);

    //更新
    int updateBook(Books books);

    //根据id查询
    Books queryBookById(int id);

    //查询全部
    List<Books> queryAllBook();

}
